<!DOCTYPE html>

<html>

<head>
    <script type="text/javascript" src="../SVG/bin/svg.js"></script>
</head>

<body>
    <div id="test-svg" style="width:100%; height: 100%;"></div>
</body>

<script>
/// <reference path="svg.ts"/>

$(function () {

    var svg = new Graphics("test-svg")
        .size(1000, 1000)
        .drawRectangle(new Canvas.Rectangle(10, 20, 200, 300),Canvas.Pens.Green(),Canvas.Brushes.BlueLagoon())
        .drawLine(new Canvas.Pen(Canvas.Brushes.Red(), 5), new Canvas.Point(100, 200), new Canvas.Point(500, 600));
});
</script>

</html>